package com.gulimall.cart.service;

import com.gulimall.cart.vo.CartVo;

import java.util.List;

/**
 * @author kkk
 * @date 2022/8/2
 */
public interface CartService {
    CartVo.CartItemVo addProduct(Long skuId, Integer count);

    CartVo.CartItemVo getCartItem(Long skuId);

    CartVo getCartList();

    void changeItemCheck(Long skuId, boolean checked);

    void changeItemCount(Long skuId, Integer count);

    void deleteItem(Long skuId);

    List<CartVo.CartItemVo> getCheckItem();
}
